import { Cell, LifeFactory } from '@valuation/rules-engine'

export class MyLifeFactory extends LifeFactory {
  getRuntimeValue(cell: Cell) {
    if (cell.from === 'from') { return 9 }
    return 10
  }

  // eslint-disable-next-line @typescript-eslint/no-unused-vars
  getCellValue() {
    return 10
  }
}
